package com.morehair.service.admin;

import com.morehair.bean.vo.admin.Info;
import com.morehair.bean.bo.LoginUser;
import com.morehair.bean.vo.admin.BaseRespVo;

import java.util.List;

/**
 * Author  kkw
 * Date  2021/6/5 21:45
 * Version 1.0
 * Description :
 */
public interface AuthService {
    BaseRespVo login(LoginUser user);

    Info getInfo(String token);

    List<String> selectPermissionByUsername(String username);

    void insertLog(String username, String host, int i, String action, int status, String result,String comment);
}
